package com.pojo;

import javax.xml.crypto.Data;
import java.io.Serializable;

public class Staff implements Serializable {


        private int id;
        private String ygname;
        private int password;
        private String email;
        private int userTypeId;
        private String level;
        private Data birthday;
        private int phone;
        private String addOwnership;
        private String modify;
        private String deleteOwnership;
        private int staffStatus;

        public int getId() {
                return id;
        }

        public void setId(int id) {
                this.id = id;
        }

        public String getYgname() {
                return ygname;
        }

        public void setYgname(String ygname) {
                this.ygname = ygname;
        }

        public int getPassword() {
                return password;
        }

        public void setPassword(int password) {
                this.password = password;
        }

        public String getEmail() {
                return email;
        }

        public void setEmail(String email) {
                this.email = email;
        }

        public int getUserTypeId() {
                return userTypeId;
        }

        public void setUserTypeId(int userTypeId) {
                this.userTypeId = userTypeId;
        }

        public String getLevel() {
                return level;
        }

        public void setLevel(String level) {
                this.level = level;
        }

        public Data getBirthday() {
                return birthday;
        }

        public void setBirthday(Data birthday) {
                this.birthday = birthday;
        }

        public int getPhone() {
                return phone;
        }

        public void setPhone(int phone) {
                this.phone = phone;
        }

        public String getAddOwnership() {
                return addOwnership;
        }

        public void setAddOwnership(String addOwnership) {
                this.addOwnership = addOwnership;
        }

        public String getModify() {
                return modify;
        }

        public void setModify(String modify) {
                this.modify = modify;
        }

        public String getDeleteOwnership() {
                return deleteOwnership;
        }

        public void setDeleteOwnership(String deleteOwnership) {
                this.deleteOwnership = deleteOwnership;
        }

        public int getStaffStatus() {
                return staffStatus;
        }

        public void setStaffStatus(int staffStatus) {
                this.staffStatus = staffStatus;
        }

        @Override
        public String toString() {
                return "Staff{" +
                        "id=" + id +
                        ", ygname='" + ygname + '\'' +
                        ", password=" + password +
                        ", email='" + email + '\'' +
                        ", userTypeId=" + userTypeId +
                        ", level='" + level + '\'' +
                        ", birthday=" + birthday +
                        ", phone=" + phone +
                        ", addOwnership='" + addOwnership + '\'' +
                        ", modify='" + modify + '\'' +
                        ", deleteOwnership='" + deleteOwnership + '\'' +
                        ", staffStatus=" + staffStatus +
                        '}';
        }
}

